package com.sunwayworld.basemodule.business.batch.dao.impl;

import com.sunwayworld.framework.mybatis.mapper.MapperParameter;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import com.sunwayworld.basemodule.business.batch.bean.LimsBatchSampleBean;
import com.sunwayworld.basemodule.business.batch.dao.LimsBatchSampleDao;
import com.sunwayworld.basemodule.business.batch.mapper.LimsBatchSampleMapper;
import com.sunwayworld.framework.mybatis.dao.MybatisDaoSupport;
import com.sunwayworld.framework.spring.annotation.GikamBean;

import java.util.List;
import java.util.Map;

@Repository
@GikamBean
public class LimsBatchSampleDaoImpl extends MybatisDaoSupport<LimsBatchSampleBean, Long> implements LimsBatchSampleDao {

    @Autowired
    private LimsBatchSampleMapper limsBatchSampleMapper;

    @Override
    public LimsBatchSampleMapper getMapper() {
        return limsBatchSampleMapper;
    }

    @Override
    public List<Map<String, Object>> selectBatchSampleInfo(MapperParameter parameter) {
        return getMapper().selectBatchSampleInfo(parameter);
    }

    @Override
    public List<Map<String, Object>> selectBatchSampleInfos(MapperParameter parameter) {
        return getMapper().selectBatchSampleInfos(parameter);
    }
}
